-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Example (nl_image_search.py) update to work with newer version of TF in Keras 2 compat mode. #2085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… mode. Multiple Bug fixes for the code to be usable with newer tf versions (tested with 2.19.0) under keras 2 compat mode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update this example for keras 3?
I was having an issue with the BERT model, but I can try fixing that later |
Updated tf.keras calls to keras calls and formated tf hub call
Replaced all tf.keras calls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still see a lot of tf ops in the file
This is the exact error message
|
Multiple Bug fixes for the code to be usable with newer tf versions (tested with 2.19.0) under keras 2 compat mode :
Change log:
steps_per_epoch
as a variable so that model.fit can show the total steps